<?php
$html = str_replace('<!--{url}-->', URL, $html);

$html = str_replace('<!--{me}-->', $about->me, $html);
$html = str_replace('<!--{clients}-->', $about->clientsToString(), $html);

//imagenes
$images = '';
foreach ($about->imagenes() as $img) {
    $images .= $imagesTpl;
    $images = str_replace('<!--{imagenId}-->', $img->id, $images);
    $images = str_replace('<!--{imagenSrc}-->', $img->src, $images);
    $images = str_replace('<!--{alea}-->', $alea, $images);
}
$images = str_replace('<!--{urlThumb}-->', URL.'content/about/', $images);
$images = str_replace('<!--{urlCrop}-->', URL.'content/about/', $images);
$html = str_replace('<!--{imagenes}-->', $images, $html);

$html = preg_replace('/<!-+\{*[A-Za-z0-9]*\}*-+>/', '', $html);
?>
